<?php
/**
 * Author: Administrator
 * Date: 2022/7/16 0:59
 */

namespace DesignPatterns\Creation\FactoryMethod;


class Ferrari implements VehicleInterface
{
    protected $color;

    public function setColor($rgb)
    {
        $this->color = $rgb;
    }
}